package com.ytjj.qmyx.admin.controller.bigdata;

import com.ytjj.common.api.CommonResult;
import com.ytjj.qmyx.users.client.BigdataClient;
import com.ytjj.qmyx.users.model.bigdata.AdsOrderCountDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/adsOrder")
public class AdsOrderCountController {
    @Autowired
    private BigdataClient bigdataClient;

    @PostMapping("/list")
    public CommonResult list(@RequestBody AdsOrderCountDto adsOrderCountDto) {
        return bigdataClient.adsOrderList(adsOrderCountDto);
    }
}
